package day007.api_String.itheima001;

public class StringDemo01 {
    public static void main(String[] args) {
        String str1 = new String();
        System.out.println(str1);
        System.out.println(str1.length());
        System.out.println("-----------");

        String str2 = new String("itheima");
        System.out.println(str2);
        System.out.println(str2.length());
        System.out.println("-----------");

        String str3 = "itheima";
        System.out.println(str3);
        System.out.println(str3.length());

    }
}
